﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Main.aspx.cs" Inherits="Main" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title></title>

    <script type="text/javascript" src="script.js"></script>

    <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
    <!--[if IE 6]><link rel="stylesheet" href="css/style.ie6.css" type="text/css" media="screen" /><![endif]-->
    <!--[if IE 7]><link rel="stylesheet" href="css/style.ie7.css" type="text/css" media="screen" /><![endif]-->
</head>
<body>
<form id="form1" runat="server">

    <div class="PageBackgroundGradient"></div>
    <div class="Main">
        <div class="Sheet">
            <div class="Sheet-tl"></div>
            <div class="Sheet-tr"></div>
            <div class="Sheet-bl"></div>
            <div class="Sheet-br"></div>
            <div class="Sheet-tc"></div>
            <div class="Sheet-bc"></div>
            <div class="Sheet-cl"></div>
            <div class="Sheet-cr"></div>
            <div class="Sheet-cc"></div>
            <div class="Sheet-body">
                <div class="Header">
                    <div class="Header-jpeg"></div>
                    <div class="logo">
                        <h1 id="H1_1" class="logo-name"><a href="#">Pinball Tournament Score System</a></h1>
                       <div id="Div1" class="logo-text">v0.8 Magod 2009-2013</div>
                    </div>
                </div>
                <div class="nav">
                	<div class="l"></div>
                	<div class="r"></div>
                	<ul class="artmenu">
                		<li><a href="Main.aspx" class="ActiveItem"><span class="l"></span><span class="r"></span><span class="t">Tournaments</span></a></li>
                		<li><a href="Players.aspx"><span class="l"></span><span class="r"></span><span class="t">Players</span></a>
                		</li>
                		<li><a href="Pinballs.aspx"><span class="l"></span><span class="r"></span><span class="t">Pinballs</span></a></li>
                		<li><a href="Screens.aspx"><span class="l"></span><span class="r"></span><span class="t">Screens</span></a>
                		</li>
                		<li><a href="Config.aspx"><span class="l"></span><span class="r"></span><span class="t">Configuration</span></a></li>
                	</ul>
                </div>
                <div class="contentLayout">
                    <div class="sidebar1">
                       <!--<div class="Block">
                            <div class="Block-tl"></div>
                            <div class="Block-tr"></div>
                            <div class="Block-bl"></div>
                            <div class="Block-br"></div>
                            <div class="Block-tc"></div>
                            <div class="Block-bc"></div>
                            <div class="Block-cl"></div>
                            <div class="Block-cr"></div>
                            <div class="Block-cc"></div>
                            <div class="Block-body">
                                <div class="BlockHeader">
                                    <div class="l"></div>
                                    <div class="r"></div>
                                    <div class="header-tag-icon">
                                        <div class="t">Newsletter</div>
                                    </div>
                                </div><div class="BlockContent">
                                    <div class="BlockContent-body">
                                        <div><form method="get" id="Form2" action="javascript:void(0)">
                                        <input type="text" value="" name="email" id="Text1" style="width: 95%;" />
                                        <button class="Button" type="submit" name="search">
                                              <span class="btn">
                                                  <span class="l"></span>
                                                  <span class="r"></span>
                                                  <span class="t">Subscribe</span>
                                              </span>
                                        </button>
                                        </form></div>
                                    </div>
                                </div>
                            </div>
                        </div>-->
                        <div class="Block">
                            <div class="Block-tl"></div>
                            <div class="Block-tr"></div>
                            <div class="Block-bl"></div>
                            <div class="Block-br"></div>
                            <div class="Block-tc"></div>
                            <div class="Block-bc"></div>
                            <div class="Block-cl"></div>
                            <div class="Block-cr"></div>
                            <div class="Block-cc"></div>
                            <div class="Block-body">
                                <div class="BlockHeader">
                                    <div class="l"></div>
                                    <div class="r"></div>
                                    <div class="header-tag-icon">
                                        <div class="t">Actions</div>
                                    </div>
                                </div><div class="BlockContent">
                                    <div class="BlockContent-body">
                                        <ul>
                                            <li><a href="Main.aspx">Tournament list</a></li>
                                            <li><a href="Tournament.aspx">Create tournament</a></li>
                                            <li><a href="Tournament_delete.aspx">Delete tournament</a></li>                                            
                                            <li><a href="PlayersHigh.aspx">Insert HighScore players</a></li>
                                            <li><a href="HighScoreResults.aspx">HighScore Results</a></li>
                                        </ul>
                                        
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                    </div>
                    <div class="content">
                       <div class="PostContent">
                                              
                            <h2 class="PostHeaderIcon-wrapper">
                                <span class="PostHeader">Tournament list</span>
                            </h2>                            
                            Tournament type {0= Draw based play, 1= Free round play }
                                <asp:GridView ID="DgTournaments"  runat="server" CellPadding="4" GridLines="None" AutoGenerateColumns="False" ForeColor="#333333">
                                    <RowStyle BackColor="#E3EAEB" HorizontalAlign="Center"  />
                                    <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                                    <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                                    <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                                    <Columns>
                                        <asp:BoundField DataField="Tournament_Name" HeaderText="Name" />
                                        <asp:BoundField DataField="QualifyRounds" HeaderText="Qualify Rounds" SortExpression="QualifyRounds" />
                                        <asp:BoundField DataField="QualifyPlayersToPlayOffs" HeaderText="PlayOffs players"
                                            SortExpression="QualifyPlayersToPlayOffs" />
                                        <asp:BoundField DataField="PlayOffsRounds" HeaderText="PlayOffs rounds" SortExpression="PlayOffsRounds" />
                                        <asp:BoundField DataField="TournamentType" HeaderText="TournamentType" />
                                    </Columns>
                                    <AlternatingRowStyle BackColor="White" />
                                    <EditRowStyle BackColor="#7C6F57" />
                                </asp:GridView>
                           
                            <div class="cleared"></div>                           
                        </div>                   
                   
                </div>
                <div class="cleared"></div><div class="Footer">
                    <div class="Footer-inner">
                        <a href="#" class="rss-tag-icon" title="RSS"></a>
                        <div class="Footer-text">
                            <p>Copyright Petacos.com&copy; 2012 ---. All Rights Reserved.</p>
                        </div>
                    </div>
                    <div class="Footer-background"></div>
                </div>
            </div>
        </div>
        <div class="cleared"></div>       
    </div></div>
</form>
</body>
</html>

